package cn.com.Enum;

public enum OrderStatus {

    WAIT_PAY(0),    //待支付
    CANCEL(1),   //用户取消订单
    WAIT_ORDERS(2), //待接单
    REJECTION(3),   //拒单
    WAIT_TRANS(4),  //待配送
    TRANING(5),    //正在配送
    COMPLETE(6); //订单完成

    private Integer status;
    private OrderStatus(Integer status){
        this.status=status;
    }

    public Integer getStatus(){
        return status;
    }

}
